<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>工作室管理 - 运输管理 - 新增运费模板</title>
<link rel="stylesheet" type="text/css" href="/static/style/common.css">
<link rel="stylesheet" type="text/css" href="/static/style/newfreighttemp.css">
</head>

<body>
<!-- 运输管理通用头部 -->
<jsp:include page="../common/settingheader.jsp" flush="true"></jsp:include>
<!-- 运输管理通用头部 end -->

<!-- 运费模板 -->
<div class="wrapper">
	<jsp:include page="../common/settingmenu.jsp" flush="true"></jsp:include>
	<div class="shopmanagerightcontent">
		<div class="shopmanageright">
			<div class="newtemptitle">
				<h1>物流运费管理</h1>
			</div>
			<div class="tempname">
				<h1>模板名称：</h1>
				<div class="newinputtype"><input type="text" class="nametext" /><i>╲</i></div>
			</div>
			<div class="tempname">
				<h1>是否包邮：</h1>
				<ul class="settemptype">
					<li><i></i><label>自定义运费</label></li>
					<li><i></i><label>卖家承担运费</label></li>
				</ul>
			</div>
			<%--
			<div class="tempname">
				<h1>计费方式：</h1>
				<ul class="settemppricetype">
					<c:forEach items="${priceUnits}" var="priceUnit">
						<li><i vid="${priceUnit.id}"></i><label>${priceUnit.desc}</label></li>
					</c:forEach>
				</ul>
			</div>
			--%>
			<div class="tempname">
				<h1>运送方式：</h1>
				<dl class="settempwaytype">
					<dt>除指定地区外，其余地区的运费采用“默认运费”</dt>
					<c:forEach items="${deliveryMethods}" var="method">
					<dd>
						<div class="selectway"><i mid="${method.id}"></i><label>${method.name}</label></div>
						<div class="editfreightpricebox">
							<div class="defaultsetup">
								<div class="defaultitem w1">
									<span>默认运费</span>
									<div class="newinputtype"><input type="text" class="nametext" setnum="num" onKeyUp="clearNoNum(event,this)" onBlur="checkNum(this)" /><i>╲</i></div>
									<span class="unit">件内</span>
								</div>
								<div class="defaultitem w2">
									<div class="newinputtype"><input type="text" class="nametext" setnum="price" onKeyUp="clearNoNum(event,this)" onBlur="checkNum(this)" /><i>╲</i></div>
									<span class="unit">元</span>
								</div>
								<div class="defaultitem w3">
									<span>每增加</span>
									<div class="newinputtype"><input type="text" class="nametext" setnum="num" onKeyUp="clearNoNum(event,this)" onBlur="checkNum(this)" /><i>╲</i></div>
									<span class="unit">件</span>
								</div>
								<div class="defaultitem w4">
									<span>增加运费</span>
									<div class="newinputtype"><input type="text" class="nametext" setnum="price" onKeyUp="clearNoNum(event,this)" onBlur="checkNum(this)" /><i>╲</i></div>
									<span class="unit">元</span>
								</div>
							</div>
							<div class="newtemp">
							</div>
							<div class="addnewtemp">
								<h1>为指定地区城市设置运费</h1>
							</div>
							<div class="clear"></div>
						</div>
					</dd>
					</c:forEach>
				</dl>
			</div>
			<div class="clear"></div>
			<div class="keeptemp">
				<ul>
					<li><a href="javascript:;" class="keeptempsetup">保存并返回</a></li>
					<li><a href="javascript:;" class="canceltempsetup">取消</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>



<!-- 运输管理通用尾部 -->
<script src="/static/js/jquery-1.10.2.min.js"></script>
<script src="/static/js/common.js"></script>
<jsp:include page="../common/footer.jsp" flush="true"></jsp:include>
<!-- 运输管理通用尾部 end -->
<div class="overbg"></div>
<script src="/static/js/newfreighttemp.js"></script>
</body>
</html>